package com.elecbook.content.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.elecbook.content.model.dto.ContributeJudgePageDTO;
import com.elecbook.content.model.dto.ContributejudgePQuery;
import com.elecbook.content.model.po.Contributejudge;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Z-ken
 * @since 2024/11/03 22:42:36
 */
public interface ContributejudgeMapper extends BaseMapper<Contributejudge> {

    /**
     * description 分页请求
     *
     * @author zken
     * @CreateDate 2024/11/5 16:08:20
     */
    Page<Contributejudge> selectPageVO(Page<Contributejudge> page, @Param("pageDTO") ContributeJudgePageDTO pageDTO);

    Page<Contributejudge> selectPageEntity(IPage<Contributejudge> page, @Param("query") ContributejudgePQuery query);

}
